Fixed move function and a couple of warnings I found in my log files