assume dev mode if -Ddebug or -DdevMode is true.
double-click a card in card explorer while running in dev mode will open the associated script file in the default ".txt" editor.
refactor: replace duplicate code with method call.
bump version to 1.51