Fixed up display and process functions with proper sizing vars