fixes to logging, added pre move/copy checks