- Fixed x86 code generation bugs
- Minor code cleanup