OAuth2 callback via API is working now.
Added some error handling for OAuth callback.
Added static file serving to dev mode (WIP).