Don't print empty lines
Add support for drag resize of the panel