Random grab bag of library code