editPreview with cookies and some fixed.

removed all static called methods in views. Made a few fixes in the
layout and the Editor View now saves the status in cookies.