Private content view class to dramatically speed up window resizing.
Coding style fixes.

Signed-off-by: Max Seelemann <max@the-soulmen.com>
Fixed setting an invalid frame when initially adding content views.
Swapping out content views removes previously set custom content view class.
Merge pull request #125 from macguru/master

Private content view class to speed up window resizing.