Activate and focus active pane after compile

this is really uncomfortable to switch each time between views. especially because you can't edit compiled code because it is read-only