cast GtkEntry properly
use proper casting for more gtk widgets
Merge branch 'master' into gnome-dev

Conflicts:
	src/main.c