moved VIDEO_MEMORY, added comments to block.c
some cleanup