running python interpreter from inside beekeep - some issues with threads, segfault etc