[PATCH 2/5] move options.actmode variable passing one layer down