Increase refinement level.
Fix bug that stopped it working in Chrome.