vncap: variable renaming, fixing little bug