Rewrite of spectator ui and more.