Fixed #includes for some headers.
Fixed Simulator to print errors to debugger.

Also cleaned up use of "die" method in minc_functions.