Added a calendar style, reformatted some code.