Even more source cleanups, move some code StdAfx.h