Added commands Map, constants, and used peek to print exceptions