Small refactor of demo code
Allow rerender to be called even if rendered hadn't
Update demo to add planting button
Update demo to include barriers