Sublime Text 3 changes for compatibility

The selection of the buffers still doesn't work 100% of the time.