Fixed some various bugs
Removed double bot checking during saving
Corrected query sends after client disconecting
Improved stats loading & added some comments
Corrected class menu
Merged improvements from new_mysql branch