removed all calls to db.close. something about connection pooling causes cursors to fail eventually if the db is closed.

also sort of fixed the new sql query for the game list. its sort of
working now.