Clean up input panel layout, fix clear button