fixed --version: now exits, and does not lock the screen