Breaking some long lines for better code legibility
Clear buffer to supress artefacts
Tidy comments