Minor bugfixes

Now the app runs fine. Please check the corresponden documentation.
Contact the Windows Forms developer before commiting changes to this
file. May the force be with you, allways.