Added a property to toggle if debug mode is on or off. Therefor allowing us to easily find figure out problems without uncommenting abunch of commented code.