Switch some warnx for fprintf. Printing it working now