Gate simulator. (forked from GateSIM by T.Pittman)