simulatormodule: Fixed and replaced the Python C-Api functions to handle the python3 type for strings. This reverts somewhat commit 0d86d47. These old changes weren't false, but not for right type. This resultet in the error where bytes were expected but str found.
Plot.py: Fixed tkfont calls.