Fixing bugs.

Making global variables all caps
Fixing bug now that options is not a global variable (since we added a main function)
Give better error output on GitError during load_state
Fixing bug where issue was not set during the edit command,