Made logic for sections more general.
Added more functionality and sweet overlays.