various changes

- added bugs, described some of them..
- implemented a function to find the new value based on ball height using normal distribution.
- moved synched sections (mutex) to synched functions.

gui changes:
- ball handles are now straight lines
- added marker highlight of number
- changed some colors