Focus editor after compile

Added an option for focusing