retro_core: don't run functions in a new thread. Fixes #2
retro_core: simplify the function calls.