Finished database sub program. Added more exception handlers to game and database program. Forced cleanup on entities where buffers were created more than once in lifetime. Added more logging messages.