Make amf cancel loading if requested.
Made gcode renderer work correctly when the bed is not showing
Refactor for clarity AllowBedRenderingWhenEmpty