Created a new method in nwapi::Tray, TrimString(), and used that to obtain the correct values for the theme_path and icon setters