changed puts to stderr for error messages. also changed up the post data that gets sent to mtgsy