Fixed a redraw problem and changed NLM to fully static.