Initial implem for listener to automatically clean up temp files
Removed 'bug' that results in ERROR displays even if there is correct saving in database