Added the ability to horizontally or vertically split window and if the current buffer is unnamed and unmodified open it in the current window