Improving relay calculator

…and some random css fixes