Added saving of maximized state of main window.
Added hand cursor over hyperlinks in TextBufferWindow.
Fixed more bugs with file streams.
Fixed synchronization problem.