Merge pull request #193 from dodyg/master

A small nitpick while you are refactoring
this fixes #170 (smalldatetime in db is now datetime)
implemented preview feature for message type submissions #194