New database, form log, bugfixes