Handle resize differently. (better?)

Also add some more logging/profiling msgs.