Height 100% to screen window, and clean some useless stuff of the code