refactored and cleaned gui up, added add_delta method