Split up the window procedure.