Metadata refresh
Cancel statement with interrupt, exit on double interrupt
Command option parsing
Other minor fixes