Added code for improving stability and added blocking move functionality.