Fixed ramzswap functionality and other small stuff.