clean up game api
get gui settings mostly working