Fixed various initializations that would affect first-time users.