Set _CRT_SECURE_NO_WARNINGS also for debug build.
Added support for long-named options.
Added usage information.