added option to turn background fading on/off, made canvas optional