more thesis stuff and simple toggle on habit