added sidebar button, fixed library search path