Created delta from sql production to Tests/db.sql
Fixed some bugs in form displays

Signed-off-by: Alexander Book <redchrome@gmx.de>