Catch complier warnings

Xcode Version 5.1 (5B130a) flagged some routines. I also initialize the display state wot a week known value.