Added .pyc files.
Added try-except blocks (stale-token and flow-missing errors)