Log, tabs and xhr deleted
Key refactored

Use constants intead of magic numbers