bug fixes, and a new configuration for new small switch widget