Added close/minimize behavior, fixed scroll cursor