GTK3 upgrade - GTK_STOCK deprecated and gtk_image_set_from_stock #365
GTK_STOCK is deprecated in GTK+3, keep everyone happy.
Replaced deprecated g_{mutex,cond}_{new,free} with static members in struct and g_{mutex,cond}_init