Updated for QT support for EGS and BEAM