Fixed minor bug. Added setter and getter for movement Threshold. Care should be taken when editing this value.
Added movement threshold editing functionality on runtime. Cleaned old variables and added comments.