Removed pub_host from MainFrame, as it's not used.
No need to pass client ID, as it can be accessed by any class.
Style changes to MainFrame.