A few WMIT changes/fixes. Opening PIE files should work now.
Authored by: Safety0ff 2010-09-10
Parent: [r484]
Child: [r486]