various fixes. can't remember most of them
somewhat working sunrise/sunset support
few fixes