Switched to GTK+3.6 threading model, make pthreads compulsory.

Many changes to call GTK/GDK functions only on main thread.
Now libphtreads is compulsory.