removed trailing ";"'s, refs#2
standardized code formatting; fixes #2