call r_display() from main.cpp
still in a new window, just need to fix that so it renders to the other window and not this window