When deactivated, kill off the child process
Add close button if build fails.

This was there the whole time, just accidentially hid it.