Describe the concepts of process management, multithreading, and memory allocation in a modern operating system.