Feature/editor

Fixes issues with ace editor. Adds a few UI features.