added require/global shim
when frames are smaller than the target, don't leave white space on the edge.
changed subscribe to on and unsubscribe to off
Merge branches 'require-shim', 'standard-event-functions' and 'variable-width-frames'