Use single char instead of string.
Fixed warnings in optimize build.
Fixed comments.