When purchasing or refinancing a home, it's important to know what potential obstacles to avoid and what necessary steps to take to ensure a smooth closing.