Added end of program wait in main(), fixed typename errors and added disabled throw() warnings in Graph header