Added url truncation, scrolling
cleaned up logic, got rid of most maggic numbers