Hi hansaleht,
Do you have a Time machine backup of your mac? If you do,as a last resort ,It could't hurt to wipe your HD, reinstall the OS and restore from the backup,. I use Cocktail from Maintain to rebuild the three databases (whatis, locate, and Launch Services) when my mac doesn't seem to know what it's doing. I also use it to clear and rebuild the spotlight index and wipe the system and user caches ;Maybe try those things before you decide to reinstall OS X. If you are on Mavericks, but not 10.9,5..I would install that version. Also, you might have permissions problems. Disk First Aid will repair your system permissions (so will Cocktail). but you might need to re-boot off your boot partition (restart holding down the option key). From there, open terminal, type resetpassword, and type in your existing or a new password.This will reset your User permissions to normal. None of this will rescue your previously corrupted files, but at least you will get a fresh start. I often manually set all folders containing Patches and channel strips to "everyone can read and write" when things get slow (select the folder, Command I to Get Info, click the lock at the bottom, enter password, set the permissions as above, and "Apply to all" ).
When you get things running smoothly, it is a good idea to save your patches individually as yfulla said previously. At least then you can rebuild your concert if this happens again.
Good Luck!