Cleanup
Fix warnings
Remove unneeded references to GlobalBaseReg and EH regs