UI: separated setResources() and render()
UI demo: moved UI redraw() call into the primary canvas update method
UI: added mouse handling
UI demo: added mouse stuffs
UI: added keypress handling
Merge pull request #33 from gheja/branch1

UI: mouse and key handling