Grain panel

This branch fills out the grain panel on the wx GUI.  More work needs to be done on this branch, but it is a good time for this to be reviewed.