GWindow now handles close event and memory leaks are removed. GColor now handles alpha.