Fixes minor syntax error that didn't close if statement
Change constant to use a final constant making changes to the transmission threshold easier to maintain.
java.lang.Math implicitly imported; no explicit declaration needed
General cleanups and changes to final static constants to make maintenance easier