Tidied up a bit..still needs a bit more cleaning. A tad messy in blSQLapp.cs