Geometric structures, compactifications and group actions