Fixed share count issue on 32-bit builds

Also added step_factor option to manage GPU load.
Minor tweaking on OpenCL code.