Fix: flush PrintWriter properly
Add padding to help output