Crash fixes

bug fixes:
-Wrong period would open at start.
-App would crash if not KPT and payroll requested of period before set
budgets
-Added date string to NewShiftDialog