add missing import + support +L and -L at the same time (= +A), and +l and -l at the same time (= -A) + cleaner action selection fromm options

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