form example: Fixed here too the problem about unreferencing objects after win is destroyed.