Some changes for proper locking and multiple hardware breakpoints setup. Doesn't work for now.