Some fixes and new features

Added running and freed the cursor while interacting with GUI