Small fixes + small cleanup
Consistent code format
Fixed issue caused by PDO migration
Reorganized footerbar position
Fixed content display