More spacing fixes.
Propperly remove empty lines when options are hidden.