add direction to ports, update libraries
merge icon fix
merge from ports branch