cleanup
updated to use new UI objects
cleanup of UI for grain example, alongside updates with new objects
adding debugging view