Editor fixes

This branch / pull request fixes issues #13 , #16 , #18 , #19 , #21 and #22 which all focus around the css inline editor and its behaviour. There are a few issues still open but it is much more useable at this point