Player Controller fixes

Fixed various errors in the PlayerController script