lib/misc.js: added canvas_2d_extend()
UI: added
UI demo: added the demo
Merge pull request #31 from gheja/branch4

Added UI