Added all permissions to the java process for the client. Really it just
needs to be able to call System.exit(), which it now can.