Fix open function at Application.

The function has a return call in that made
that the main windows was not showed. This
fixes #32.