added menu GUI and a textmode option
