Got rid of that demon printf and added pagedir stuff
Merged