very messy implementation of an ingame python shell for changing values.