with respect to non-conforming uses, all variances and exceptions heretofore granted by the respective planning commission or board of zoning appeals shall remain in full force and effect and all terms, conditions and obligations imposed by the respective planning commissions, board of zoning appeals, or governing authority shall remain in full force and effect and be binding. Prior ordinances shall remain in effect insofar as required for the initiation of any proceedings against violations thereof and for the prosecution of any violations heretofore commenced.