Fixed some styling issues and javascript errors
Fixed error involving DBAL setup and fixed minor code issues