Changed gates from text file, added them to on-screen objects