fixed araqne/logpresso.com#13. fixed mac osx, secure crt save/restore cursor fail bug
fixed merge conflict