Unload: completed implementation. Test to unload. Closes #1763 if no bugs found on reload. Fixed and added unit test of SQL parser.