Fixed bad assignment order which caused input to break. Also removed input debugging.