fixed a bug when pc begins and did more refactoring
made comments, changed sequence
added more comments, deleted old files
tried out addeventhandler, does not work so far
Merge pull request #9 from MattFlaig/t12

T12