Add status logging, make status page work properly