Fixed link bugs
Added overflow handling to prettyprint for comments