Fixed public steam api key bug. Code tidy for consistency too. closes #1