bug fixes, added homework help dialog