Program stabilny. Uzupelniony o obsluge bledow.