remove .empty file as it's no longer needed
Add some really ugly php stuff to get rid of fatal errors within plugins and return useful data instead