Removed FrameSIzeCHangedException. It caused a big Stack in some cases because it wasnt removed properly.

Added "centerObject()"-method.

Deleted some useless allocations

This commit hopefully fixes the memoryOverflow problem. It does on my phone, but you never know, right? Right?