Added sample count to window settings

Partially addresses #624