misc: fix warning and bugs
update .gitignore
misc: clean code, fix warning
unix: compile: enable warning
linux: fix compilation warning
win: compile: suppress crt secure warnings