Clean canvas before updating the user interface.
Removed the ground global from drawing. Now passing in an array of tiles instead. Ground returns very little from the module now.