Created helper methods for checking save state flag.
Whitespace consistency.
Renamed method.
Renamed more methods to reflect new variable names.