Made GUI compilable again