Added optional title page

Added the ability to have a title page displayed at the start of the cards
Improved code quality

Made (most) lines stick to the 90 char limit, added spaces around + signs, moved all variable declarations to the top, renamed some functions and variables, and some other light refactoring