Shefki:
	- Refresh frame layouts after the group headers are done on profile changes.  Should prevent some odd edge cases with changing profiles with different configs on the same group header.
	- Fix some places where we could end up comparing a number with nil.
