remove preloading patch, doesn't seem to speed us up
factor out gfx parts into gfx.js and introduce midp/
factor out midp natives
cleanup gfx.js and stop leaking values into MIDP
fix remaining MIDP. references except Context2D
remove redundant code from midp.js
move DisplayDevice also into gfx.js
properly draw lines with 0 width/height
fix rect sizes as well
remove style from canvas
move ImageData handling into gfx.js
fix a few names in gfx.js
properly implement createMutableImageData
implement getRGB
implement fillTriangle
fix a bug in renderRegion
fix getRGB
add drawRGB
Add a manifest.webapp; add buttons to the phone ui