gene summary styling, minor code tidying