clean up code; add CGRectCopy macro
Device rotation works sensibly now
Works in portrait and landscape
Merge pull request #1 from inquinity/master

Working in landscape; clean up code