Removed trailing spaces

Main code rev. 1835