Free Time working

The user is given a warning when free time would expire. Additionally,
changed the project to 32-bit (to comply with sqlite standards), as well
as some minimal refactoring to fix small conflicts.