Removing properties should be done in WM_NCDESTROY
Log file is now cleared and written to instead of appended to