Added weapon updates on armor change

Also added some debug logging and comments.