Added uptime monitor, and updates to several library files