fixed window undefined. added optional GitHub access_token. v 0.0.7