Removed some unused code constructs and changed delays to 10ms