Cleaned up stars.py, included support for new firmware functions