Bug fixes for sidebar and whiteboard database saving