index on master: 341d450 Merge branch 'master' of https://github.com/Gabbeh/CHARM
WIP on master: 341d450 Merge branch 'master' of https://github.com/Gabbeh/CHARM
Merge commit 'stash'
So, two things I changed.

1. uid_counter is now volatile, getting rid of those warnings.
2. When I run the server I get a lot of
"Access denied for user 'CHARM'@'localhost' errors. The MySQL connection
was not being closed properly when an error occured, causing a memory leak.
That has since been fixed. There may be another but I haven't seen one.