Upped total max args to 1024
Changed stray reference from d to k
Fixed process error handling
Removed unnecessary argspecs from the command dict