Some improvements for the GUI.
Updated the build script.
Implemented an alternative "boundary" handling mode. Enabled with "--alt-boundary" switch.