Patches, or suggestions for where the resolution switches should be triggered from are welcome...