removed links to now non-existent functions (edit master template/stylesheets)
changed .empty? to .blank? for strings