made method synchronized because of temporary display bug if the method is called twice at a time. This may decrease the speed. In simple test this version is nearly as quick as the old one. If there will occur display speed problems afterwards there should be a solution which is a little bit harder to code but possibly quicker.