unsigned ints & correct handling of table map events