Use loop for replacing difficult chars

Also add replacements for ^A and ^G

Altered items:
print_menu_items, ob_cb_manager.print_menu_items