Major changes on layout and threading

The layout has been changed in order to put a button for the list
of contacts and a menu.
The GTK thread is now working on a separate thread thanks to
threading module of python. Though, this not work fine. It keeps
hangs on a new msg. But anyway