Merge pull request #35 from JN-Jones/stable

Fixes #2120 Captcha while Login
Fixes possible SQL error in checktables.php
Fixes #2180 PHP errors when attempting to send Mass Mail