Fix up player movement. Add globals for player attributes