Sublime 3 ready. Added compatibility to Python 3.