The IO bounds checks were on 32 bit instead of the actual limit of 16 bit, which would have caused problems later down the line.
This has KString, KBuffer, DoubleBuffer, KBufferBuilder, IOWindow, UserOrKernelBuffer and ScopedCritical classes being moved to the Kernel/Library subdirectory. Also, move the panic and assertions handling code to that directory.