Some refactoring and added toolbar.
Fixed some buttons
Added some buttons. Fixed sprites
Added preloading message.
Fixed problem due to hidden textarea.
Added xml mode for html support.