Adding GUI version (in progress), cleaning standalone console script