This stuff will likely be implemented natively in the final system. For now, it is useful for debugging. Signed-off-by: Ophestra <cat@gensokyo.uk>