main: Don't build libgd's header-bar widget

We don't use it.
main: Fix compile time warning
main: Fix small memory leak
main: Handle current browse source disappearing