Split methods up to make it easier to read.
Merge pull request #65 from greboid/framemanagers

Split methods up to make it easier to read.