MiniBrowser: Close X display last, to avoid a segfault in BrowserControl destructor

Reviewed by Hugo Parente Lima