Removed double buffering as not neccesary. Performance improvements.
Graphics to html5 way
Merge