removed unused async method and fixed gtk deprecated warnings