render important items first, clean up