removed unused trash like TODO and VS10 adaptation things
removed comments, fixed work with memory