Windows compliant
improve small things
small fix
change value* to long*