fixed some 64 bit warnings
fixed minor warning
changed project settings