Partial review of Library.mu

Applied a number of optimizations in ENUMs.

Added comments and done some formatting.