clean up renderer, possibly fix issue with attachments, work on function names