Finalize GUI handling

Fixes https://github.com/Open-Code-Developers/BoatCraft/issues/216 .