main and editor views cleanup, added ab- prefix to sidebar directive