stop multiple windows being opened
Fix multi-line edit issue