Changes to functions

Use killAndWait in game launcher