Support events, added bitmap loading.