added time/date to log
fixed bug causing a crash
added saving on double click