Implemented error recording.

Package errors are now displayed under "My packages".