Code cleanup
Enabled auto commit for mysql
Alignment fix
Implemented summary widget