minor code changes

#21 adds input validation mechanism

fixes response locale not set for new sessions

(0) -100 -30 -10 -3 +3 +10 +30 +100 tip

mercurial