Sidebar replacement complete. Added export function.