Fixes #3

Check if the slot is ready first, and make a small delay
to ensure is set. Also refactor the slot setting to single function
in beaglebone.go