Added gtk version check (needs polishing)