added input checks.
implementing parts of the design
Merge branch 'master' of https://github.com/pupil-labs/pyglui