fixed angle not getting rendered correctly in some cases
moved some code
fixed widgets not floating correctly
wrap into closure
update the emitter list only when necessary
improved editor layout
added simple code output
fixed some cross browser issues