garbage collector WIP, minor fixes
coding style brushup