add manual mode & script mode context menu
fix logger bug
Merge remote-tracking branch 'origin/LoggerBugFix' into ModesSwitch