Create the application's structure dynamically.

This app may be instanced in the future.
Also rename .jspaint-main to .jspaint-canvas-area ("main" is ambiguous)
this was meant to be event based, heh