NP_Initialize: use trace_error to report errors
add switching buttons 2 and 3 quirk
ppb_flash_menu: fix unused-variable warning
mitigate trace output in release version