Minor bug fixes
Minor fixes in SQL security, etc
Various bug fixes
Add basic security