In any application under this division the court may make such order as to payment of costs (to be taxed as between solicitor and client or otherwise), charges, and expenses as it may deem just in the circumstances and may take into consideration any offer of settlement made by either party.