NaN An Issue

Resolved some issues with NaN showing up in the memory window.