Old C++ GUI program