Fix trailing whitespaces

Fixed some whitespaces "errors" which i found when going through the source.