Fixes due to type sizes, updates of the old garbage collector and the terrible bug with hash tables merged into main trunk