Fixed Bugs

Changed a lot of the error and debug prints and added pop ups..