correct invalidating of cache when updating it
bugfixes for catched bugs
newcardscheduler rewrite + bugfixes