Fixed bugs on event edit. Field generation mechanism improved. Various view changes. Added foreign key indexes.
Some changes to dashboard