Move some globals to main.h, set array max's for Command struct