Commented the oauth stuff
Fixed: typo
Fixed: doesn't pop error anymore if doc doesn't exist to prevent script from crashing at first initialization
Fixed: the refactoring...