Memory and registers windows bugs fixed