Anytime you execute a line of code that can return a value, it should be caught by a variable or a null object (the familiar "$" symbol). Failing to do so results in letting the values echo to the screen. It's not only annoying, it's sloppy and bad coding practice.
Anytime your console is showing zeros and ones you're not following this like you should. Aside from that the best advice I can offer anyone working with KixTart is to spend some time on their site (www.kixtart.org)