Onset and Synchronization of Complex Dynamic Behavior in the Light-Sensitive Belousov-Zhabotinsky Reaction with Periodic and Nearly Periodic Switching