This changes the media toggle to wait until the stylesheet is defined in...

... the CSSOM, and essentially loaded. This ensures that the sheet loads with a low-priority media query and the real media is set at a safe time. Fixes #19