minor changes

preparing for some big changes
updates gitignore
handling webgl context lost
test for context lost
context lost working