Base GUI code + fixed bad import