Implemented more tests in package buffer.
gofmt.
Added a test for the window package.
Made a couple of methods public.
Added a SetCursor method to the gui interface.
Implemented SetCursor.