Max length allocation for keys. Cleanup. Removed extraneous includes in main.c. Added EXIT_SUCCESS condition instead of 0. Fixed strings, syntax.