cleaned code and better debugging output
cleaned code and better debugging output

pombredanne/paperpile,pombredanne/paperpile,jondo/paperpile,pombredanne/paperpile,pombredanne/paperpile,jondo/paperpile,pombredanne/paperpile,jondo/paperpile,jondo/paperpile,jondo/paperpile