fixed mini-bug in input class, misc highlighting prettyfication