Fixed segmentation fault in gp_window_free(). Added basic program execution test.