The ToggleSwitch Fixing Update

* ToggleSwitches now work with the new layout manager
* Added common parsing functions to the Toolkit