Fixed some warning on mac when using the robot window.
Merge pull request #201 from DavidMansolino/mac

Fixed some warnings on mac when using the robot window.