Bugfixes on launching webpage editor
Fix ghost event listener causing errors