Some fixes, call bukkit event and some formatting.