Fixed some bugs in Windoze. Added compatibility support for Webkit browsers.