Support multiple shells

Related to #8 issue
switch to last buffer not first index 1 buffer

Suggestion by kyagi
Merge pull request #12 from kyagi/multi-shell

Support multiple shells