Refactored editor lookup to solve #841
Adds condition for constructor to finish successfully. Fixes #862

Sets Java Required Execution Enviroment to JavaSE-1.7