Added functionality to Frontpage Exit button

Reviewed by Simon
Merge origin/master