Ace editor setting work/cleanup