Not sure if anything can be done to fix this but with the instant building cheat enabled the game becomes very unstable on my machine. It will generally crash at the close of a battle or when a building is built after the double click. It crashes out to the error report screen for Dark Crusade. I have since stopped using the F7 cheat and have had no crashes.
All times are (GMT -08:00) Pacific Time (US & Canada). Current time is 1:21:19 AM