Fix an issue where listing entries while searching for an actionlist would cause a lot of duplicates
We now save the latest sourcetype and entryorguid when the mainform closes and also load this up on startup again
Also save the last used entry and sourcetype on reconnect. In addition, we no longer produce an error when auto-loading the last used script