Fix Issue 9

To make the code editor less dependent on screen resolution, my changes to the code editor being pull-requested against perform calculations using screen.availWidth and screen.availHeight to create the window in proportion to said bounds. Hopefully they will be accepted upstream...