Optimizations and updated to latest aceeditor and vaadin versions.