mam.lib: process_message() shall not return on invalid markers.
mam.lib: cleanup and optimize last commits.