Let's start with the more important things ;)
Add some initial variables
disable_joysticks() is used once, we don't need this to be a function
forgot some things in last commit :)
we don't need to fork steam and check for the steam window, instead keep restarting it until it exits cleanly or crash to fast.
remove some unused stuff
the killing is done once on start, no need for a function
bash->sh, should now be compatible