UI stuff and added security restrictions.