m_historyPosition can be negative!
Fix check for printing support.
Added a patch for retina display on os x.