Refactored CharacterDAO, reduced framework leaks, added islearned in db and gui