Fix several issues to get the app working, and add database file.
Fix an issue causing FocusFlow to depend on the CWD when started. Make it changes CWD to its own dir, so it's able to find the database file.