Added start/stop events.

ProgramWindow now stops its program when CCGUI stops.