aloha editor & optimizations