Modified code to use SQLite by default, also completely ajaxified the user interface.