Critical bugfix in PIC service

- PICs now working properly
- New warning() function implemented