GUI more or less working