Fixed serialisation issue with NOT operator
Filter text is now saved as is; fixes #278
Filter field caret position is now preserved on confirmation
Closing login dialog now quits the application properly; fixes #264