Little fixes in editor code that closure compiler did not like