Replaced extremely unsafe data writing with simple saveLevel NMS call

Signed-off-by: Irmo van den Berge <bergerkiller@gmail.com>