Added a working method for the InternalMouseAdapter

also changed some other things