Added a DebugWindow for easy debugging. Implemented the engineHandler
function, to check if an Engine is present. Did a quick test, by adding
an Engine after the completion of the BuyWindow. Engine power and torque
updated correctly
Added comments for better documentation