Fixed some bugs. Added conf.forceWidthPolling.