Removed the start up query for the artist list.

It was not working properly. Will add at a future date.
Database query now returns MYSQL_RES instead of generic (int*)
Cleaned up a lot of memory leaks and corrupting routines

Have not run it through valgrind yet, but server seems stable for now.