Convert distance, explore, stars, and status to new-style calling
Use std::stoi instead of atoi and c_str().  Make getcount take a string, and put the declaration with the definition.
Fix bad ternary operator in recent commit