Merge pull request #319 from arlolra/lint

First try at linting that passes.
Uighur returns! (Fix #272)
UI resize bug fix
lint undeclared vars