added new libs; misc fixes