updated some of the code around translations
updated some of the code around translations

round values when doing translations, leverage the power of functions to
power other functions, removing some duplication.

spikegrobstein/whiteboard_server,spikegrobstein/whiteboard_server