I see Vader as p!%% off at himself now about all his decisions and still being alive. I get the feeling that he either wants to end it all or redeem himself in some way but cant. That is until episode 6 when he is given the chance for redemption.
The guard scene was influenced by the gunshot scene in Raiders.