Fruitless attempts at making GUI work