Mostly a compatibility update, with some general beautification. The following important changes have been made:
Library is now complete. Only work left on continuous testing.