Support for some customization options, infrastructure for redraw function