Fix Database Problems
Currently, database can't be access asyncronously I'm pretty sure.
The functions should also deal with errors better. Most of the error handling is there, but I think there are a few that don't have it (I think
db_read() right now, as well as the functions that write to the database.
Deleting a branch is permanent. It CANNOT be undone. Continue?