Logging in series of examples has misuse of "%d" instead of type-appropriate format specifiers. Fix by changing "%d" to PRIxx macros corresponding to type. Remove -Wno-format compile flag in those examples that are affected.
1. simplify console examples 2. add "quit" command 3. support console command overwrite 4. add API reference