Fixed SQL "ResultSet closed" error
Fixed SQL "duplicate column AppID" error
Overhauled SQL check code
Overhauled web check code