Refactored a bit, placed FJ under flashjam.*, tested update/draw before and after invalidation.