fixed minor things in keycapture plugin