Program mode enum class and better getopt.
Get rid of truncation, and fix STOP bug.
Use more simpler hash.
Format, and fix aio_error issue.