[mainwindow] Remove the Bridge pattern implementation.

An opaque pointer or pimpl idiom is not an advantage in the case of the main
window class. The complexity introduced by the idiom results in code that is
hard to read, extend and maintain. Also, the class is not reused.