curses: scan for utf-8 locales if c.utf-8 is not available
osx: don't include scrap module to avoid strange errors
remove debug message
android fixes