Custom refresh rate implemented and working
Closes #6