bugfixes for orientation changes and shit like that
fix divide of callbacks into important and unimportant