Hello there msanbus,
It sounds like your wireless mouse and keyboard are intermittently losing connection to the Macs Bluetooth.
I want to recommend these steps from the article named:
Troubleshooting wireless mouse and keyboard issues
http://support.apple.com/kb/ts3048
Click the mouse
- Click the mouse once to reconnect it with your Mac. It may take a moment for the mouse to respond.
- Check the battery level of the mouse. Choose System Preferences from the Apple (), then choose Mousefrom the View menu. The battery level indicator is in the lower-left corner. Replace the batteries if they are low. Note: Choose Keyboard & Mouse from the View menu with Mac OS X v10.5. For more information on keyboard and mouse battery levels in Mac OS X v10.5, see Desktop computers: Troubleshooting wireless keyboard and mouse issues.
Press a key on the keyboard
- Press a key on the keyboard to reconnect it with your Mac. It may take a moment for the keyboard to respond.
- Check the battery level of the keyboard. Choose System Preferences from the Apple (), then chooseKeyboard from the View menu and select the Keyboard tab. The battery level indicator is in the lower-left corner. Replace the batteries if they are low.
Check for signal interference
- Wireless networks that operate on 2.4GHz may cause interference.
- Move cordless phone base stations, microwave ovens, and other 2.4GHz electrical devices away from the Mac if you suspect interference.
- Keep wireless devices within 10 meters (33 feet) of the Mac.
- Avoid putting metal objects between the device and the Mac.
If the issue is not resolved, I would next try resetting your SMC, then your PRAM as well.
Intel-based Macs: Resetting the System Management Controller (SMC)
http://support.apple.com/kb/HT3964
- Shut down the computer.
- Plug in the MagSafe power adapter to a power source, connecting it to the Mac if its not already connected.
- On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time.
- Release all the keys and the power button at the same time.
- Press the power button to turn on the computer.
Note: The LED on the MagSafe power adapter may change states or temporarily turn off when you reset the SMC.
And
About NVRAM and PRAM
http://support.apple.com/kb/ht1379
- Shut down your Mac.
- Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
- Turn on the computer.
- Press and hold the Command-Option-P-R keys before the gray screen appears.
- Hold the keys down until the computer restarts and you hear the startup sound for the second time.
- Release the keys.
After resetting NVRAM or PRAM, you may need to reconfigure your settings for speaker volume, screen resolution, startup disk selection, and time zone information.
Thank you for using Apple Support Communities.
Take care,
Sterling