Hearts boss John McGlynn warned fans the club was "not out of the woods yet" after a sell-out crowd of 16,443 saw the Jambos beat St Mirren 1-0 at Tynecastle.