fixed major bugs; made GUI a bit nicer
fixed major bugs; made GUI a bit nicer (2)