fixing stdio and adding a crude help message

oh how nice