Fixes to some errors.

Its working Great now, and i can start adding rewards (thats up first)