--Corrected calendar display issue.

--Corrected DB resetting on debug, used current user's Temp directory for DB instead.