broke gui into classes. bug with callbacks being null