Remove useless parameter from PIE button display functions.
Merge implementations of displayStructureStatButton() and displayStructureButton().
Remove unused/useless code from console code
Unify muzzle flash drawing code between structures and droids to reduce code duplication.
Fix saving of effects
Only check for OpenGL errors in debug builds.

Might speed up rendering a bit.
Remove duplicate model files. Closes ticket:4088