Fixed some problems

Header should be full lenght but not longer than page.
Fixed some problems

Should work now