add panicgate variable (will be set via cmdline args)

Signed-off-by: Mattias Andrée <maandree@operamail.com>
typo

Signed-off-by: Mattias Andrée <maandree@operamail.com>
add option parsing

Signed-off-by: Mattias Andrée <maandree@operamail.com>
specification for one time opts

Signed-off-by: Mattias Andrée <maandree@operamail.com>