added controls for mirroring
and changed draw order to make mesh under GUI