Fixed some deprecations and repaired admin interface so it fixes #13