better cleanup on character switch (close extraneous forms), also x86/64 now.