adds many comments to the code and declutters main tab by moving some drawing-related functions to drawUtils.pde