Rename ratio to rate. Simplify translation. Round in GUI, not simulation. Check for div/0. Fix wrong variable name in test_GuiInterface.js. This was SVN commit r17580.
This was SVN commit r17518.
This was SVN commit r16943.