Fixed #21 - getting rid of errors in options dialog