Updating debug script.
Transferred from GtkWindow to GtkApplication model.
Include time.h
Update Makefiles