32-64 bit fixes, escape parameters and replace the never-to-be-changed pw for the gsk8 db