added major mode detection for buffer names

2048 game :)