adding few more classical problems and doc fixes
fixing ui code if gtk is not available and enabling doctests again