Cleanup of code.
Added repulsor button support.