Update sens_dev.py

Basic UI stuff stolen fro projecti.py