Memory interface slightly more refined, state machine stalls after reprogram