More corrections and clarifications
Fixed style issues
typo
Edited headers
Added shrinked res-switch example