Fixed program crashes

Fixed errors when viewing bills before adding any bills, and also when
calculating percentages without adding any bills.  Did so very
primitively, by adding a flag variable to ascertain whether any bill
data had yet been entered.
Merge pull request #1 from Intrepid90/master

A few crash prevention changes