Fixes to Console, plus the ability to register and call functions through it.