Indent code
Fix infinite loop in GetSection function