working with exports / render, buttons, pdf stuff, fixed other issues