Fix a syntax error
Added updatesubmodule command
Allow commands in reverted mode
Made commands case-insensitive
Use a ternary
Use excepthook for threads