syntax fix in noteinputgui, one-to-many curly braces
implemented delete event for logininputgui