(MESS) Fixed several bugs in HSGPL. [Michael Zapf]