sqlite3: compability with mysql
frontend: fix issue with id being undefined for new slides
Merge branch 'bugfixes'