Merge pull request #463 from fahadhatib/develop

Start the work of bringing variable names in line with coding style guid...
Make the $Messages array available within the DB_query function
Merge pull request #464 from timschofield/develop

Make the $Messages array available within the DB_query function