First gtk3 support commit.
Merge pull request #140 from Semmu/dev-gtk3

First gtk3 support commit.