Numerous updates, hitting the learning curve for database insertions

Adding logging for testing purposes
Initial (probably buggy) insertion of a template into the db
I think I fixed enablePlayback checkbox
Some model changes, mainly adding blank, null
Some cleanup

Small work on remove response button, currently not working.