various changes to make the map base work for kot.

Signed-off-by: MGZero <steven.calandra@gmail.com>