moved newdata struct for callbacks to the create_windows function so the runlist can access it
partial