Remove use of PMA_String in comments.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
Replace PMA_String uses by mb_* calls.
Remove part of unused  variables.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>