Double buffering yay. Closes #3