Set up the parsers for UI args for sign and verify. Also fixed a memory leak.