Added balance/category/subcategory methods to SQLiteOpenHelper. Fixed a ton of database leaks