Added try-except in form init to eliminate no instance problem.