Simplified SplitterWindow and improved cursor handling.

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>