Memory window bugs fixed