State retention file user error detection added, as well as handling for malformed comments being handed in