Basic functionality like reference passing and quitting the window working.