(a) Custody proceedings shall receive priority in being set for hearing.
(b) The court may tax as costs the payment of necessary travel and other expenses incurred by a person whose presence at the hearing the court deems necessary to determine the best interests of the child.
(c) The court without a jury shall determine questions of law and fact. If it finds that a public hearing may be detrimental to the child's best interests, the court may exclude the public from a custody hearing, but may admit any person who has a direct interest in the particular case.
(d) If the court finds it necessary for the protection of the child's welfare that the record of an interview, report, investigation, or testimony in a custody proceeding be kept secret, the court may make an appropriate order sealing the record.